using System.Text;
using System;
using System.Collections.Generic;
using AmazeUI.db;
namespace AmazeUI.Bll.GetModel
{
    public class QixiJson
    {
        public int Id { get; set; }

        public string Name1 { get; set; }
        public string Name2 { get; set; }
        public string Img1 { get; set; }
        public string Img2 { get; set; }

        public string Remarks { get; set; }

        public QixiJson()
        {
            
        }

        public QixiJson(Qixi model)
        {
            this.Id = model.Id;
            this.Name1 = model.Name1;
            this.Name2 = model.Name2;
            this.Img1 = model.Img1;
            this.Img2 = model.Img2;
        }
    }

    public class JkLogJson
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Subdata { get; set; }
        public string Retdata { get; set; }
        public string Fn { get; set; }
        public System.DateTime AddTime { get; set; }
        public string Md5 { get; set; }
        public int UserId { get; set; }
        public string Msg { get; set; }
        public string Bak { get; set; }
        public bool Status { get; set; }
        public JkUser JkUser { get; set; }
        public JkLogJson() { }
        public JkLogJson(JkLog model)
            : this()
        {
            SetModel(model);
        }

        public void SetModel(JkLog model)
        {
            this.Id = model.Id;
            this.Name = model.Name;
            this.Subdata = model.Subdata;
            this.Retdata = model.Retdata;
            this.Fn = model.Fn;
            this.AddTime = model.AddTime;
            this.Md5 = model.Md5;
            this.UserId = model.UserId;
            this.Msg = model.Msg;
            this.Bak = model.Bak;
            this.Status = model.Status;
            this.JkUser = model.JkUser;
        }


    }
}
